package com.feihao.zhou.classLoadDemo;

public class CLassLoadDemo {
    public static void main(String[] args) {
        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
        System.out.println(systemClassLoader); //AppClassLoader   系统类加载器

        ClassLoader parent = systemClassLoader.getParent();
        System.out.println(parent);  //PlatformClassLoader

        ClassLoader platformClassLoader = ClassLoader.getPlatformClassLoader();
        System.out.println(platformClassLoader);

        ClassLoader parent1 = platformClassLoader.getParent();
        System.out.println(parent1);   //启动类加载器   ,默认为null
    }
}
